package com.example.idea_spring_boot.entity;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author C-Q
 * @version 1.1.0
 * @Description: TODO
 * @date 2022/11/15
 */
//交给容器管理
@Component
//配置属性文件
@ConfigurationProperties(prefix = "alibb")
@Data
public class AliPay {
    private String appid;
    private String rsaPrivateKey;
    private String notifyUrl;
    private String url;
}





































































